import Vue from "vue";
import VueRouter from "vue-router";
import Student from "../components/Student.vue";
import Specification from "../components/Specification.vue"
Vue.use(VueRouter);
const routes = [
    {
        path:'/student',
        component: Student
    },
    {
        path:"/spec",
        component:Specification
    }
]
const router = new VueRouter({
    routes// 配置项-配置视图和路由之间的对应关系
});
 
export default router